package demo1;

public class Test {
    public static void main(String[] args) {
        MySingleList mySingleList = new MySingleList();
        //mySingleList.createList();
        mySingleList.addFirst(1);
        mySingleList.addFirst(2);
        mySingleList.addFirst(3);
        mySingleList.addFirst(4);
        mySingleList.addFirst(5);
/*
        mySingleList.display();
        mySingleList.addLast(100);
        mySingleList.display();
        mySingleList.addIndex(2, 10);
        mySingleList.remove(56);
        mySingleList.display();
        mySingleList.remove(100);*/

        /*mySingleList.display();
        mySingleList.removeAllKey(1);
        mySingleList.display();
        System.out.println(5 / 2);*/
        //System.out.println(mySingleList.size());
        //System.out.println(mySingleList.contains(23));
        mySingleList.display();
        mySingleList.reversePrintList();

    }
}
